<?php

namespace App\Http\Controllers\Home\Wechat;

use Illuminate\Http\Request;

use App\Http\Requests;
//use App\Http\Controllers\Controller;
use App\Models\wechat\Carts;

class CustomerController extends CommonController
{
    public function __construct()
    {
        parent::__construct();
        view()->share([
            '_customer' => 'on'
        ]);
    }

    public function index() //显示服务首页
    {
        $headimgurl= $this->customer->headimgurl;
        return view('home.wechat.customer.index')->with('headimgurl',$headimgurl);
    }
}
